package com.xq.dto.DmsDevice;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DmsDeviceTypeInsertDTO {

    /**
     * 设备类型名称
     */
    @ApiModelProperty(name = "设备名称",required = true,example = "温度测量")
    private String typeName;

    /**
     * 设备类型描述
     */
    @ApiModelProperty(name = "设备描述",required = false,example = "温度测量设备")
    private String description;

    /**
     * 设备类型协议种类
     */
    @ApiModelProperty(name = "设备协议",required = true,example = "MQTT")
    private String protocolType;

    /**
     * 存储该设备类型的所有字段信息（名称、类型、描述等）
     */
    @ApiModelProperty(name = "设备所有字段信息（输入的是Json格式）",required = true,example = "123")
    private String fields;


}
